package lab02.test25;

import java.util.Scanner;

/**
 * Created by V555 on 2017/11/9.
 */
public class Test {
    public static void main(String[] args) {
        int a, b, c=0;
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入第一个数");
        a = scanner.nextInt();
        System.out.println("输入第二个数");
        b = scanner.nextInt();
        try {
            c = a / b;
        } catch (Exception e) {
            System.out.println("除数为0！！！");
        }
        System.out.println(a+"/"+b+"="+c);
    }
}

